package com.mallcai.bigdata.ladon.client.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;

import java.io.Serializable;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-09-03 14:35
 */
@Data
@RequiredArgsConstructor
@AllArgsConstructor
public class ReportQueryParam implements Serializable {

    private static final long serialVersionUID = 2145702322349565835L;

    /**
     * 应用名称,必填,请填写您的应用名
     */
    private final String appName;

    /**
     * 报表编码,必填
     */
    private final String reportCode;

    /**
     * 是否返回本次查询的sql
     */
    private boolean needRunSql;

    /**
     * ladon登录用户的id,其他应用不传
     */
    private Long userId;

    /**
     * 是否导出excel
     */
    private boolean exportReport;

}
